package com.xq.string;

/**
 * @author jltxseo
 *         Created by junlintianxia on 2017/07/09.
 *         注意此题与上一题StringNewTest2的区别，此处是字符串字面值与String类型常量连接，得到的新字符串依然保存在常量池中。
 */

public class StringNewTest3 {
    public static void main(String[] args){
        String a = "ab";
        final String bb = "b";
        String b = "a" + bb;
        System.out.println(a == b);
    }
}
